#-------------------------------------------------
#
# Project created by QtCreator 2016-11-16T14:08:01
#
#-------------------------------------------------
#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS

QT += network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TRANSLATIONS += programDelEnglishLan.ts

TARGET = programDelegate
TEMPLATE = lib

DEFINES += PROGRAMDELEGATE_LIBRARY

SOURCES += programdelegate.cpp \
    programcheck.cpp \

HEADERS += programdelegate.h\
        programdelegate_global.h \
    programcheck.h \


INCLUDEPATH += ../WeldSettingView
INCLUDEPATH += ../ProgramLanguageTranslate
INCLUDEPATH += ../CommunicateDelegate
INCLUDEPATH += ../ProgramSet
INCLUDEPATH += ../ProgramLanguageTranslate
INCLUDEPATH += ../../include/MacroDefine

unix {
    target.path = /usr/lib
    INSTALLS += target
}

contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../lib/x86_WINDOWS

LIBS += -L../../lib/x86_WINDOWS -lprogramView
LIBS += -L../../lib/x86_WINDOWS -lHmiCommunicate

LIBS     += -L../../lib/x86_WINDOWS -lMotionInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lMotionInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lIfInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lIfInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lLabelJmpView
LIBS     += -L../../lib/x86_WINDOWS -lLabelJmpDelegate
LIBS     += -L../../lib/x86_WINDOWS -lWaitInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lWaitInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lForInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lForInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lRegisterInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lRegisterInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lSelectInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lSelectInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lSkipConditionView
LIBS     += -L../../lib/x86_WINDOWS -lSkipConditionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lOutputInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lOutputInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lCoordinateInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lCoordinateInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lOtherInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lOtherInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lPalletInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lPalletInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lVisionInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lVisionInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lStampInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lStampInstructionDelegate
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../lib/x86

LIBS += -L../../lib/x86 -lprogramView
LIBS += -L../../lib/x86 -lHmiCommunicate

LIBS     += -L../../lib/x86 -lMotionInstructionView
LIBS     += -L../../lib/x86 -lMotionInstructionDelegate
LIBS     += -L../../lib/x86 -lIfInstructionView
LIBS     += -L../../lib/x86 -lIfInstructionDelegate
LIBS     += -L../../lib/x86 -lLabelJmpView
LIBS     += -L../../lib/x86 -lLabelJmpDelegate
LIBS     += -L../../lib/x86 -lWaitInstructionView
LIBS     += -L../../lib/x86 -lWaitInstructionDelegate
LIBS     += -L../../lib/x86 -lForInstructionView
LIBS     += -L../../lib/x86 -lForInstructionDelegate
LIBS     += -L../../lib/x86 -lRegisterInstructionView
LIBS     += -L../../lib/x86 -lRegisterInstructionDelegate
LIBS     += -L../../lib/x86 -lSelectInstructionView
LIBS     += -L../../lib/x86 -lSelectInstructionDelegate
LIBS     += -L../../lib/x86 -lSkipConditionView
LIBS     += -L../../lib/x86 -lSkipConditionDelegate
LIBS     += -L../../lib/x86 -lOutputInstructionView
LIBS     += -L../../lib/x86 -lOutputInstructionDelegate
LIBS     += -L../../lib/x86 -lCoordinateInstructionView
LIBS     += -L../../lib/x86 -lCoordinateInstructionDelegate
LIBS     += -L../../lib/x86 -lOtherInstructionView
LIBS     += -L../../lib/x86 -lOtherInstructionDelegate
LIBS     += -L../../lib/x86 -lPalletInstructionView
LIBS     += -L../../lib/x86 -lPalletInstructionDelegate
LIBS     += -L../../lib/x86 -lVisionInstructionView
LIBS     += -L../../lib/x86 -lVisionInstructionDelegate
LIBS     += -L../../lib/x86 -lStampInstructionView
LIBS     += -L../../lib/x86 -lStampInstructionDelegate

LIBS     += -L../../lib/x86 -lMoveMagInstructionDelegate
LIBS     += -L../../lib/x86 -lMoveMagInstructionView

LIBS += -L../../lib/x86 -lLiftMechanismInstructionView
LIBS += -L../../lib/x86 -lLiftMechanismInstructionDelegate

LIBS += -L../../lib/x86 -lLoadMapInstructionView
LIBS += -L../../lib/x86 -lLoadMapInstructionDelegate

<<<<<<< HEAD
=======
LIBS += -L../../lib/x86 -lWaitCommandView
LIBS += -L../../lib/x86 -lWaitCommandDelegate

>>>>>>> dev
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../lib/arm
}


#编译目录
UI_DIR += ../../build/tmphmi
MOC_DIR += ../../build/tmphmi
OBJECTS_DIR += ../../build/tmphmi
RCC_DIR += ../../build/tmphmi
